Repository navigation
Conversation
|
Pull request dashboard statusWaiting on reviewers · refreshed 2026-12-04 22:20 UTC Review the latest changes. Also blocked by: Merge conflicts. Status above doesn't look right?
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9039 +/- ##
============================================
- Coverage 90.50% 90.48% -0.02%
- Complexity 11260 11266 +6
============================================
Files 1040 1040
Lines 30737 30733 -4
Branches 4029 4031 +2
============================================
- Hits 27817 27810 -7
- Misses 1934 1939 +5
+ Partials 986 984 -2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
abdessattar23
left a comment
There was a problem hiding this comment.
I went through the refactoring and the overall direction looks consistent with the *.impl convention and #6970.
One compatibility concern: relocating RetryUtil, TlsUtil, and DaemonThreadFactory removes their previous internal binary names. Older sender/SDK artifacts paired with newer common artifacts can therefore encounter NoClassDefFoundError. I realize internal APIs aren't covered by semver guarantees, but given the version-alignment motivation of #6970, would it make sense to retain delegating compatibility shims, or is that one-time break intentional?
Also, now that these classes are part of the stable impl API surface, a few public constructors and methods need complete Javadocs, notably DaemonThreadFactory(String), TlsUtil.keyManager, TlsUtil.trustManager, and RetryUtil.retryAfterNanos
|
@abdessattar23 Yes. It is intentional. |
This comment has been minimized.
This comment has been minimized.
jack-berg
left a comment
There was a problem hiding this comment.
Thanks - couple of comments, but this is long overdue. 🙂
jkwatson
left a comment
There was a problem hiding this comment.
I'm ok with the changes in the impl packages if Jack is ok with them
6b30bd4 to
bf6c611
Compare
…opagators - Relocate DaemonThreadFactory to io.opentelemetry.sdk.common.impl with private constructors and static factory methods, retaining a @deprecated bridge in sdk.common.internal for binary backward-compatibility - Add HttpExportUtil.retryAfterNanos to sdk:common and remove sender-jdk dependency on exporters:common - Pass retryable HTTP and gRPC status codes through HttpSenderConfig and GrpcSenderConfig, with OTLP configs supplying the canonical status code sets - Resolve default trust manager statelessly in TlsConfigHelper, keeping TlsUtil internal without state mutation - Remove sender-okhttp production dependency on exporters:common - Un-exempt sender-jdk, sender-okhttp, and trace-propagators from NoSharedInternalCodeTest
bf6c611 to
6ac369c
Compare
…Logger to impl - Resolve SSLContext and X509TrustManager pair via TlsConfigHelper.resolve() without mutating builder state - Remove RetryUtil and inherit default retryable status codes on ImmutableHttpSenderConfig/ImmutableGrpcSenderConfig - Remove deprecated internal DaemonThreadFactory forwarding shim and clean up sender constructor Javadocs - Promote ThrottlingLogger to io.opentelemetry.sdk.common.impl for sender modules merged from main
|
Hey thanks for incorporating the feedback. Upon further thinking, I'm nervous about making publishing I've addressed this and a few more minor concerns in the form of a PR against your branch: rooks-ns#1 Haven't got confirmation from other @open-telemetry/java-maintainers on the |
Description
Addresses #6970 by un-exempting sender and propagator modules from
NoSharedInternalCodeTest:*.implpackages with@OtelImplJavadocand regenerated jApiCmp baselines:RetryUtil->io.opentelemetry.exporter.impl(opentelemetry-exporter-common)DaemonThreadFactory->io.opentelemetry.sdk.common.impl(opentelemetry-sdk-common)TlsUtil->io.opentelemetry.exporter.impl(opentelemetry-exporter-common)Marshalerinternal import inGrpcRequestBody(opentelemetry-exporter-sender-okhttp).NoSharedInternalCodeTest:opentelemetry-exporter-sender-jdkopentelemetry-extension-trace-propagatorsopentelemetry-exporter-sender-okhttpRelated Issues